Class AbstractConfigFactory

Summary

Fully Qualified Name: Laminas\Config\AbstractConfigFactory
Implements: AbstractFactoryInterface

Description

Class AbstractConfigFactory

Methods

Name Description Defined By
__invoke() Create service with name (SM v3) AbstractConfigFactory
addPattern() AbstractConfigFactory
addPatterns() AbstractConfigFactory
canCreate() Determine if we can create a service (SM v3) AbstractConfigFactory
canCreateServiceWithName() Determine if we can create a service with name (SM v2) AbstractConfigFactory
createServiceWithName() Create service with name (SM v2) AbstractConfigFactory
getPatterns() AbstractConfigFactory
setPatterns() AbstractConfigFactory

Method Details

__invoke()

Create service with name (SM v3)

Parameter Name Type Description
$container \ContainerInterface
$requestedName string
$options array

Returns: string|mixed|array

addPattern()

Parameter Name Type Description
$pattern string

Returns: self

addPatterns()

Parameter Name Type Description
$patterns array|\Traversable

Returns: self

canCreate()

Determine if we can create a service (SM v3)

Parameter Name Type Description
$container \ContainerInterface
$requestedName string

Returns: bool

canCreateServiceWithName()

Determine if we can create a service with name (SM v2)

Parameter Name Type Description
$serviceLocator \ServiceLocatorInterface
$requestedName
$name
$requestedName

Returns: bool

createServiceWithName()

Create service with name (SM v2)

Parameter Name Type Description
$serviceLocator \ServiceLocatorInterface
$name string
$requestedName string

Returns: string|mixed|array

getPatterns()

Returns: array

setPatterns()

Parameter Name Type Description
$patterns array|\Traversable

Returns: self

Top